package moxl.parser.assemblers.comment;

public enum CommentAssemblerState
{
	CommentStartState(new CommentStartState()),

	CommentExpectingCommentBodyState(new CommentExpectingCommentBodyState()),

	CommentExpectingCloseCommentState(new CommentExpectingCloseCommentState()),

	CommentEndState(new CommentEndState());

	public static final CommentAssemblerState START = CommentStartState;
	public static final CommentAssemblerState END = CommentEndState;

	private final CommentStateDelegateBase delegate;

	CommentAssemblerState(CommentStateDelegateBase delegate)
	{
		this.delegate = delegate;
		delegate.associateState(this);
	}

	public CommentStateDelegateBase getDelegate()
	{
		return delegate;
	}
}
